package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Organization;
import cn.wolfcode.crm.query.QueryObject;
import java.util.List;

public interface OrganizationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Organization record);

    Organization selectByPrimaryKey(Long id);

    List<Organization> selectAll();

    int updateByPrimaryKey(Organization record);

    int query4Count(QueryObject qo);

    List<?> query4List(QueryObject qo);

    void changeState(Long id);
}